package com.sjq.common.web;


import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.sjq.common.service.OperationLogService;

@Controller
@RequestMapping(value="/operationLog")
public class OperationLogController {
	
	@Resource
	private OperationLogService ols;
	
	@RequestMapping(value="/query")
	@ResponseBody
	public String queryOperationLog(String pages,String czlxdm,String cazr_xm,String cazr_gmsfhm,String cazr_ipdz){
		String json = ols.selectPage(pages,czlxdm,cazr_xm,cazr_gmsfhm,cazr_ipdz);
		return json;
	}
	
	@RequestMapping(value="/queryOperationLogView")
	public String queryOperationLogView(){
		return "/view/log/czrz_query";
	}
}
